<?php
$cn_normal_route = TRUE;
require '../../cn-config.php';

require CN_DOCUMENT_ROOT.'includes/load.php';
require cn_template_dir().'functions.php';

$cn_url_interpreter->process_query_vars();

$redirect = $_REQUEST['redirect'];
if(!$redirect) $redirect = CN_URL . 'user/';
?>

<?php template_header();?>
	<div class="content-wrapper">
		<div class="content-one-column">
			<fb:serverfbml width="722">
				<script type="text/fbml">
					<fb:fbml>
						<fb:request-form action="<?=$redirect?>" 
							 method="POST" 
							 type="NiteFlip.com"
							 invite="true"							 
							 content="<fb:name uid='1039860053' firstnameonly='true' shownetwork='false' /> has started using <a href='http://www.niteflip.com/'>NiteFlip.com</a> to create and share barcrawls. <fb:req-choice url='http://www.niteflip.com' label='Click here to check it out!' />">
							
							<fb:multi-friend-selector email_invite="true"
										  rows="3"
										  bypass="cancel"
										  cols="4"
										  actiontext="Invite your friends to join NiteFlip.com">
						</fb:request-form>
					</fb:fbml>
				</script>

			</fb:serverfbml>
		</div>
	</div>
	<?php right_column();?>
	<div class="clearboth"></div>
<?php template_footer();?>

